package com.biomatch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biomatch.domain.Role;
import com.biomatch.dto.Pagination;

import java.util.List;

public interface RoleService {

    List<Role> getAllRoles();

    IPage<Role> getRolesByPage(Pagination pagination);

    Role saveOrUpdateRole(Role role);

    Role deleteRole(Role role);
}